package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * 许愿值变化日志
 */
@FieldTypeAnnotation(tableName = "t_l_wish_pool_value")
public class LogWishPoolValue {

    @FieldTypeAnnotation(desc = "活动id")
    private int activityId;

    @FieldTypeAnnotation(desc = "用户id")
    private long userId;

    @FieldTypeAnnotation(desc = "增加值")
    private int addValue;

    @FieldTypeAnnotation(desc = "总许愿值(增加后)")
    private int totalValue;

    @FieldTypeAnnotation(desc = "日志记录时间")
    private long logTime;

    public LogWishPoolValue(int activityId, long userId, int addValue, int totalValue, long logTime) {
        this.activityId = activityId;
        this.userId = userId;
        this.addValue = addValue;
        this.totalValue = totalValue;
        this.logTime = logTime;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getAddValue() {
        return addValue;
    }

    public void setAddValue(int addValue) {
        this.addValue = addValue;
    }

    public int getTotalValue() {
        return totalValue;
    }

    public void setTotalValue(int totalValue) {
        this.totalValue = totalValue;
    }

    public long getLogTime() {
        return logTime;
    }

    public void setLogTime(long logTime) {
        this.logTime = logTime;
    }
}
